package com.cyq.dascma.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 学生实体
 * dingwen
 * 2021/3/9 16:24
 **/
@Getter
@Setter
@ToString
@ApiModel(description = "学生表")
@TableName(value = "dasc_man_student")
public class Student implements Serializable {
    private static final long serialVersionUID = 2689572234547506831L;

    @ApiModelProperty(name = "studentId", value = "学号，用于登录账号")
    @TableId(value = "student_id")
    @TableField(value = "student_id")
    private String studentId;

    @ApiModelProperty(name = "studentName",value = "学生姓名")
    @TableField(value = "student_name")
    private String studentName;

    @ApiModelProperty(name = "studentGender",value = "性别【0：男 1：女】")
    @TableField(value = "student_gender")
    private Integer studentGender;

    @ApiModelProperty(name = "studentQq",value = "QQ")
    @TableField(value = "student_qq")
    private String studentQq;

    @ApiModelProperty(name = "studentWechat",value = "微信账号 = 电话号码")
    @TableField(value = "student_wechat")
    private String studentWechat;

    @ApiModelProperty(name = "studentImg",value = "头像")
    @TableField(value = "student_img")
    private String studentImg;

    @ApiModelProperty(name = "clazzId",value = "学生所在班级的班级ID")
    @TableField(value = "clazz_id")
    private String clazzId;

    @ApiModelProperty(name = "studentPassword",value = "登录密码")
    @TableField(value = "student_password")
    private String studentPassword;
}
